import 'package:dashbook/dashbook.dart';
import 'package:flame/game.dart';
import 'package:flame_examples/stories/sprites/base64.dart';
import 'package:flame_examples/stories/sprites/basic.dart';
import 'package:flame_examples/stories/sprites/spritebatch.dart';
import 'package:flame_examples/stories/sprites/spritebatch_auto_load.dart';
import 'package:flame_examples/stories/sprites/spritesheet.dart';

void addSpritesStories(Dashbook dashbook) {
  dashbook.storiesOf('Sprites')
    ..add(
      'Basic Sprite',
      (_) => GameWidget(game: BasicSpriteGame()),
    )
    ..add(
      'Base64 Sprite',
      (_) => GameWidget(game: Base64SpriteGame()),
    )
    ..add(
      'Spritesheet',
      (_) => GameWidget(game: SpritesheetGame()),
    )
    ..add(
      'Spritebatch',
      (_) => GameWidget(game: SpritebatchGame()),
    )
    ..add(
      'Spritebatch Auto Load',
      (_) => GameWidget(game: SpritebatchAutoLoadGame()),
    );
}
